package com.css.zfzx.fwsjcj.modules.structure.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author leon
 * @Title: FwWoodStructureVo
 * @Description: 木结构
 * @date 2020/6/6 11:04
 */
@Data
public class FwWoodStructureVo implements IExcelDataModel, IExcelModel {
    @NotNull(message = "缺失")
    @Excel(name = "样本编号", orderNum = "0", width = 15)
    private String woodStructureNum;

    @NotNull(message = "缺失")
    @Excel(name = "所属省份", orderNum = "1", width = 15)
    private String belongtoProvince;

    @NotNull(message = "缺失")
    @Excel(name = "所属地级市", orderNum = "2", width = 15)
    private String belongtoCity;

    @NotNull(message = "缺失")
    @Excel(name = "所属区县", orderNum = "3", width = 15)
    private String belongtoArea;

    @NotNull(message = "缺失")
    @Excel(name = "所属乡镇街道", orderNum = "4", width = 15)
    private String belongtoStreet;

    @Excel(name = "经度", orderNum = "4", width = 15)
    private String longitude;

    @Excel(name = "纬度", orderNum = "4", width = 15)
    private String latitude;

    @Excel(name = "所属村居委会", orderNum = "5", width = 15)
    private String belongtoTown;

    @NotNull(message = "缺失")
    @Excel(name = "样本建筑名称", orderNum = "6", width = 15)
    private String buildingName;

    /*@NotNull(message = "缺失")*/
    @Excel(name = "数据状态", orderNum = "7", width = 15)
    private String status = "0";

   /* @NotNull(message = "缺失")*/
    @Excel(name = "数据采集人", orderNum = "7", width = 15)
    private String collectUser;

    @NotNull(message = "缺失")
    @Excel(name = "建造年代", orderNum = "7", width = 15)
    private String buildingAge;

    @NotNull(message = "缺失")
    @Excel(name = "场地类型", orderNum = "8", width = 15)
    private String siteType;

    @NotNull(message = "缺失")
    @Excel(name = "建筑面积", orderNum = "9", width = 15)
    private Double buildingArea;

    @NotNull(message = "缺失")
    @Excel(name = "建筑长度", orderNum = "10", width = 15)
    private Double buildingLength;

    @NotNull(message = "缺失")
    @Excel(name = "建筑宽度", orderNum = "11", width = 15)
    private Double buildingWidth;

    @NotNull(message = "缺失")
    @Excel(name = "层数", orderNum = "12", width = 15)
    private Integer floorNum;

    @NotNull(message = "缺失")
    @Excel(name = "建筑高度", orderNum = "13", width = 15)
    private Double buildingHeight;

    @NotNull(message = "缺失")
    @Excel(name = "穿斗方式", orderNum = "14", width = 15)
    private String cdType;

    @NotNull(message = "缺失")
    @Excel(name = "柱间支撑", orderNum = "15", width = 15)
    private String zjzc;

    @NotNull(message = "缺失")
    @Excel(name = "木柱梢径", orderNum = "16", width = 15)
    private String mzsj;

    @NotNull(message = "缺失")
    @Excel(name = "柱脚与基础连接", orderNum = "17", width = 15)
    private String zjyjclj;

    @NotNull(message = "缺失")
    @Excel(name = "木柱接榫牢固", orderNum = "18", width = 15)
    private String mzjslg;

    @NotNull(message = "缺失")
    @Excel(name = "节点状态", orderNum = "19", width = 15)
    private String byteStatus;

    @NotNull(message = "缺失")
    @Excel(name = "围护墙体类型", orderNum = "20", width = 15)
    private String wallType;

    @NotNull(message = "缺失")
    @Excel(name = "山尖墙体类型", orderNum = "21", width = 15)
    private String sjqtType;

    @NotNull(message = "缺失")
    @Excel(name = "墙体厚度", orderNum = "22", width = 15)
    private Double wallThick;

    @NotNull(message = "缺失")
    @Excel(name = "出屋面构件", orderNum = "23", width = 15)
    private String cwmgj;

    @NotNull(message = "缺失")
    @Excel(name = "墙体圈梁", orderNum = "24", width = 15)
    private String wallRingBeam;

    @NotNull(message = "缺失")
    @Excel(name = "建筑现状", orderNum = "25", width = 15)
    private String buildingSituation;

    @NotNull(message = "缺失")
    @Excel(name = "建筑造价/重置单价", orderNum = "26", width = 15)
    private Double buildingCost;

    /*@NotNull(message = "缺失")
    @Excel(name = "建筑照片", orderNum = "27", width = 15)*/
    private String buildingPhoto;

    //@NotNull(message = "缺失")
    @Excel(name = "信息说明", orderNum = "27", width = 15)
    private String msgIllustrate;

    // 复写父类属性的getter和setter
    private Integer rowNum;
    private String errorMsg;
}
